/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.platform.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigInteger;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2020-11-25
 */
@Data
@ApiModel(value = "EquiomentAlarmLog对象", description = "EquiomentAlarmLog对象")
public class EquiomentAlarmLog implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;
	/**
	* 设备编号
	*/
		@ApiModelProperty(value = "设备编号")
		private String equipmentId;
	/**
	* 设备名称
	*/
		@ApiModelProperty(value = "设备名称")
		private String equipmentName;
	/**
	* 告警编号
	*/
		@ApiModelProperty(value = "告警编号")
		private String alarmId;
	/**
	* 告警名称
	*/
		@ApiModelProperty(value = "告警名称")
		private String alarmName;
	/**
	* 告警时间
	*/
		@ApiModelProperty(value = "告警时间")
		private Long alarmTime;
	/**
	* 处理状态 1：已处理  2：未处理
	*/
		@ApiModelProperty(value = "处理状态 1：已处理  2：未处理")
		@JsonSerialize(nullsUsing = NullSerializer.class)
		private Integer processingStatus;
	/**
	* 是否产品配置的告警：0  否  1是
	*/
		@ApiModelProperty(value = "是否产品配置的告警：0  否  1是")
		@JsonSerialize(nullsUsing = NullSerializer.class)
		private Integer isProductAlarm;
	/**
	* 处理结果
	*/
		@ApiModelProperty(value = "处理结果")
		private String processingResults;


	/**
	 * 告警数据
	 */
	@ApiModelProperty(value = "告警数据")
	private String alarmData;
	/**
	* 操作
	*/
		@ApiModelProperty(value = "操作")
		@JsonSerialize(nullsUsing = NullSerializer.class)
		private Integer operation;
	/**
	* 产品编号
	*/
		@ApiModelProperty(value = "产品编号")
		private String productId;
	/**
	* 产品名称
	*/
		@ApiModelProperty(value = "产品名称")
		private String productName;
	/**
	* 是否已删除
	*/
		@ApiModelProperty(value = "是否已删除")
		@JsonSerialize(nullsUsing = NullSerializer.class)
		private Integer isDeleted;
	/**
	* 修改时间
	*/
		@ApiModelProperty(value = "修改时间")
		private Long updateTime;
	/**
	* 添加时间
	*/
		@ApiModelProperty(value = "添加时间")
		private Long insertTime;
		/**
		 * 创建人
		 */
		@ApiModelProperty(value = "创建人id")
		private BigInteger createUser;

	@ApiModelProperty(value = "租户编号")
	private String tenantId;

	@ApiModelProperty(value = "所属机构编号")
	private String affiliatedInstitutionsCode;

	@ApiModelProperty(value = "告警备注")
	private String remark;

}
